package com.woniuxy.lab.woniu_lab.service.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ApiModel("充值记录")
public class ChargeDto {
    @ApiModelProperty("充值记录ID")
    private Integer id;

    /**
     * 充值单号
     */
    @ApiModelProperty("充值单号")
    private String no;

    /**
     * 充值内容(给支付宝看的)
     */
    @ApiModelProperty("充值内容")
    private String info;

    /**
     * 创建时间
     */
    @ApiModelProperty("充值时间")
    private LocalDateTime createTime;

    /**
     * 失效时间
     */
    @ApiModelProperty("失效时间")
    private LocalDateTime expireTime;

    /**
     * 充值金额
     */
    @ApiModelProperty("充值金额")
    private BigDecimal money;

    /**
     * 状态(SUCCESS/FAIL/PAYING)
     */
    @ApiModelProperty("状态 [SUCCESS/FAIL/PAYING]")
    private String status;
}
